<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>blmc_drivers: blmc_drivers::MotorBoardCommand Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">blmc_drivers
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classblmc__drivers_1_1MotorBoardCommand.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classblmc__drivers_1_1MotorBoardCommand-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">blmc_drivers::MotorBoardCommand Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This <a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html" title="This MotorBoardCommand class is a data structurs that defines a command. ">MotorBoardCommand</a> class is a data structurs that defines a command.  
 <a href="classblmc__drivers_1_1MotorBoardCommand.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="motor__board_8hpp_source.html">motor_board.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:abdbd6eb70164938ea91ae02000ccf7b2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdbd6eb70164938ea91ae02000ccf7b2"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#abdbd6eb70164938ea91ae02000ccf7b2">IDs</a> { <br />
&#160;&#160;<b>ENABLE_SYS</b> = 1, 
<b>ENABLE_MTR1</b> = 2, 
<b>ENABLE_MTR2</b> = 3, 
<b>ENABLE_VSPRING1</b> = 4, 
<br />
&#160;&#160;<b>ENABLE_VSPRING2</b> = 5, 
<b>SEND_CURRENT</b> = 12, 
<b>SEND_POSITION</b> = 13, 
<b>SEND_VELOCITY</b> = 14, 
<br />
&#160;&#160;<b>SEND_ADC6</b> = 15, 
<b>SEND_ENC_INDEX</b> = 16, 
<b>SEND_ALL</b> = 20, 
<b>SET_CAN_RECV_TIMEOUT</b> = 30, 
<br />
&#160;&#160;<b>ENABLE_POS_ROLLOVER_ERROR</b> = 31
<br />
 }<tr class="memdesc:abdbd6eb70164938ea91ae02000ccf7b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">IDs are the different implemented commands that one can send to the MotorBoard. <br /></td></tr>
</td></tr>
<tr class="separator:abdbd6eb70164938ea91ae02000ccf7b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad61acf8dcb8f6fcb382fc5cbc1e44615"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad61acf8dcb8f6fcb382fc5cbc1e44615"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#ad61acf8dcb8f6fcb382fc5cbc1e44615">Contents</a> { <b>ENABLE</b> = 1, 
<b>DISABLE</b> = 0
 }<tr class="memdesc:ad61acf8dcb8f6fcb382fc5cbc1e44615"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is the different command status. <br /></td></tr>
</td></tr>
<tr class="separator:ad61acf8dcb8f6fcb382fc5cbc1e44615"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad5ac32071cbf2854135fee7bb89acf4e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5ac32071cbf2854135fee7bb89acf4e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#ad5ac32071cbf2854135fee7bb89acf4e">MotorBoardCommand</a> ()</td></tr>
<tr class="memdesc:ad5ac32071cbf2854135fee7bb89acf4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html" title="This MotorBoardCommand class is a data structurs that defines a command. ">MotorBoardCommand</a> object. <br /></td></tr>
<tr class="separator:ad5ac32071cbf2854135fee7bb89acf4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7cf695d2600d84929729befc3cb29f9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#ae7cf695d2600d84929729befc3cb29f9">MotorBoardCommand</a> (uint32_t id, int32_t content)</td></tr>
<tr class="memdesc:ae7cf695d2600d84929729befc3cb29f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html" title="This MotorBoardCommand class is a data structurs that defines a command. ">MotorBoardCommand</a> object.  <a href="#ae7cf695d2600d84929729befc3cb29f9">More...</a><br /></td></tr>
<tr class="separator:ae7cf695d2600d84929729befc3cb29f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8a54ff3faa6c2b4ce50c13a0d83bcb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8a54ff3faa6c2b4ce50c13a0d83bcb3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#aa8a54ff3faa6c2b4ce50c13a0d83bcb3">print</a> () const </td></tr>
<tr class="memdesc:aa8a54ff3faa6c2b4ce50c13a0d83bcb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display on a terminal the status of the message. <br /></td></tr>
<tr class="separator:aa8a54ff3faa6c2b4ce50c13a0d83bcb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a31bfcc3cb1b2c35cbd5349123d884af4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31bfcc3cb1b2c35cbd5349123d884af4"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#a31bfcc3cb1b2c35cbd5349123d884af4">id_</a></td></tr>
<tr class="memdesc:a31bfcc3cb1b2c35cbd5349123d884af4"><td class="mdescLeft">&#160;</td><td class="mdescRight">id_ is the command to be modifies on the card. <br /></td></tr>
<tr class="separator:a31bfcc3cb1b2c35cbd5349123d884af4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac417b63a8cc8801a6757f4dce3b0810c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac417b63a8cc8801a6757f4dce3b0810c"></a>
int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html#ac417b63a8cc8801a6757f4dce3b0810c">content_</a></td></tr>
<tr class="memdesc:ac417b63a8cc8801a6757f4dce3b0810c"><td class="mdescLeft">&#160;</td><td class="mdescRight">content_ is the value of teh command to be sent to the cards. <br /></td></tr>
<tr class="separator:ac417b63a8cc8801a6757f4dce3b0810c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This <a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html" title="This MotorBoardCommand class is a data structurs that defines a command. ">MotorBoardCommand</a> class is a data structurs that defines a command. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae7cf695d2600d84929729befc3cb29f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">blmc_drivers::MotorBoardCommand::MotorBoardCommand </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Construct a new <a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html" title="This MotorBoardCommand class is a data structurs that defines a command. ">MotorBoardCommand</a> object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>defines the command to apply. </td></tr>
    <tr><td class="paramname">content</td><td>defines of the command is enabled or disabled. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/workspace/software/workspace/src/catkin/hardware/blmc_drivers/include/blmc_drivers/devices/<a class="el" href="motor__board_8hpp_source.html">motor_board.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceblmc__drivers.html">blmc_drivers</a></li><li class="navelem"><a class="el" href="classblmc__drivers_1_1MotorBoardCommand.html">MotorBoardCommand</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
